package com.jboltai.capability.text.extract.excel;

import com.jboltai.event.text.TextEvent;
import com.jboltai.util.other.Excel2HtmlUtil;

import java.io.File;
import java.util.function.Consumer;

public class ExcelExtractor {



    public static void extract(File file, Consumer<String> chunkConsumer, TextEvent textEvent) {
        String convert = Excel2HtmlUtil.convert(file, false);
        chunkConsumer.accept(convert);
    }
}
